import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
// const path = require('path')
import path from 'path'

import myPlugn from './vite-plugn-test/vite-plugn-my-plugn'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue(), myPlugn()],
  resolve: {
    alias: {
      '@': path.resolve(__dirname, 'src'),
    },
  },
})
